package com.aaa.pay.controller;

import com.aaa.pay.service.PayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

/**
 * fileName:PayController
 * description:
 * author:lk
 * createTime:2020/3/20 10:22
 * version:1.0.0
 */
@Controller
public class PayController {

    @Autowired
    private PayService payService;


    @RequestMapping("payBymemberId")
    @ResponseBody
    public Object payBymemberId(@RequestParam Map map){
        return payService.payBymemberId(map);
    }
}
